package com.qfedu.lc.user.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 3.短信发送表
 * </p>
 *
 * @author wgz
 * @since 2024-01-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class SmsLog implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String phone;

    //    * 1.注册验证码
    //     * 2.登录验证码
    //     * 3.密码找回验证码
    private String type;

    private String info;

    private Date ctime;

    public SmsLog() {
    }

    public SmsLog(String phone, String type, String info, Date ctime) {
        this.phone = phone;
        this.type = type;
        this.info = info;
        this.ctime = ctime;
    }
}
